import numpy as np


def gen_golden_data_cube():
    input_x = np.random.uniform(1, 100, [8, 2048]).astype(np.float32)
    golden = (input_x * input_x * input_x).astype(np.float32)
    tiling = np.array([16384, 8], dtype=np.uint32)
    tiling.tofile("./input/input_tiling.bin")
    input_x.tofile("./input/input_x.bin")
    golden.tofile("./output/golden.bin")


if __name__ == "__main__":
    gen_golden_data_cube()